package com.macro.mall.mapper;

import java.time.LocalDateTime;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.macro.mall.model.BmsDailyAttendanceRecord;
import com.macro.mall.query.BmsDailyAttendanceRecordQuery;

public interface BmsDailyAttendanceRecordMapper {

    List<BmsDailyAttendanceRecord> findList(BmsDailyAttendanceRecordQuery query);

    int insert(BmsDailyAttendanceRecord bmsMuseumGroup);

    int updateById(BmsDailyAttendanceRecord bmsMuseumGroup);

    BmsDailyAttendanceRecord getById(@Param("id") Long id);

    int updateDeleteId(@Param("ids") List<Long> ids);

    BmsDailyAttendanceRecord getTodayDetail(@Param("userId") Long userId);

    void deleteAttendanceRecord(@Param("dateTime") LocalDateTime dateTime);

    void insertAttendanceRecord(@Param("dateTime") LocalDateTime dateTime);

}
